from random import randint
N = int(input())
count = 0
for i in range(N):
    x = randint(-100, 100)
    y = randint(-100, 100)
    if  -7 and 5 and -7 >= x and -8 and -7 and 5 >= y :
        count = count + 1
print('Количество выстрелов', N)
print('Количество попаданий', count)   
